package com.opNaga.bpmp.connectingObject.sequenceFlow;

import com.opNaga.bpmp.BPMPElement;
import com.opNaga.bpmp.connectingObject.ConnectingObjectTarget;
import com.opNaga.bpmp.swimlane.HasRoot;

import java.util.Iterator;

/**
 * User: Junyi BEI
 * Date: 19/01/2012
 * Time: 14:02
 */
public interface SequenceFlowTarget extends ConnectingObjectTarget, HasRoot {
  public boolean addInwardSequenceFlow(BPMPElement be);

  public boolean removeInwardSequenceFlow(BPMPElement be);

  public boolean isInwardSequenceFlowEmpty();

  public int inwardSequenceFlowSize();

  public Iterator<BPMPElement> iterateInwardSequenceFlows();
}
